import {
    navbar
} from "vuepress-theme-hope";

export const navbars = navbar([
    // "/demo/",
    // {
    //     text: "posts",
    //     icon: "",
    //     // 需要配合children使用
    //     prefix: "/posts/",
    //     // 默认生成一个README.md,该文件有当前文件夹的文件目录
    //     children: ["apple/", "banana/"],
    // },
    // "/zh/posts/",
    // {
    //     text: "测试",
    //     icon: "",
    //     // 需要配合children使用
    //     prefix: "/zh/posts/",
    //     // 默认生成一个README.md,该文件有当前文件夹的文件目录
    //     children: ["apple/", "banana/"],
    // },
    // //和"/zh/posts/"结果一样，只是可以自定义text
    // {
    //     text: "测试111",
    //     link: "/zh/posts/",
    // },
    {
        text: "web",
        prefix: "/web/",
        children: ["html/", "js/", "vue3/", "css/", "miniprogram/"],
    },
    {
        text: "vscode",
        prefix: "/vscode/",
        children: [{
            text: "插件",
            link: "plugin/"
        }, "shortcutKey/"],
    },
    {
        text: "工作",
        prefix: "/company/",
        children: [{
                text: "笔记",
                link: "companyNotes/"
            },
            "question/"
        ],
    },
    {
        text: "vuepress使用",
        link: "/vuepress/",
    },
    {
        text: "node",
        link: "/node/",
    },
    {
        text: "webpack",
        prefix: "/webpack/",
        children: [
            {
                text: "介绍",
                link: "intro/"
            },
            {
                text: "基础",
                link: "base/"
            },
            {
                text: "高级",
                link:"senior/",
            },
            {
                text: "loader/plugin",
                link:"origin/",
            },
            {
                text: "项目",
                link: "project/",
            },
            
        ],
    },


])